package com.xiaoxie.report.service.impl;

import com.xiaoxie.report.domain.QueryCondition;
import com.xiaoxie.report.mapper.QueryConditionMapper;
import com.xiaoxie.report.service.QueryConditionService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QueryConditionServiceImpl implements QueryConditionService {

    @Resource
    private QueryConditionMapper queryConditionMapper;

    @Override
    public List<QueryCondition> queryConditionByReportId(Integer reportId) {
        return queryConditionMapper.getConditionByReportId(reportId);
    }
}
